package com.dzx.design.principle.singleresponsibility;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年06月21日 16:42:01
 */
public class Bird {
    public  void  mainMoveMode(String birdName){
        if("康小美".equals(birdName)) {
            System.out.println(birdName + "用脚走");
        }else {
            System.out.println(birdName + "用翅膀飞");
        }
    }
}
